FILE(GLOB cc_sources *.cc)
FILE(GLOB cc_sources_gdata gdata/*.cc)

add_library(buolanet SHARED ${cc_sources} ${cc_sources_gdata})

find_package(CURL REQUIRED)

include_directories(${CURL_INCLUDE_DIRS})
target_link_libraries(buolanet buolacore ${CURL_LIBRARIES})

set_target_properties(buolanet PROPERTIES VERSION ${GENERIC_LIB_VERSION} 
                                        SOVERSION ${GENERIC_LIB_SOVERSION})

install(TARGETS buolanet DESTINATION ${LIB_INSTALL_DIR})
